
<h1><a class="AddButton button floatleft" href="{% course_url management app='additions' command='edit' %}" title="Add a new Addition">+</a>Additions</h1>
<p>
    Additions are extra information you can associate with users, events, and other items. When you edit the properties of an item,
    you can enter the extra information for that item. When viewing information on items with additions, the extra information that was
    entered can be seen.
</p>
<p>
    For example, if you create a "Short Text" addition to "Participants" called "Facebook", users will be able to
    enter their facebook page and it will show up on their profile.
</p>
    {% for model, list in Additions %}
<table>
    <tr><th colspan="6" class="heading"><h3>{{model|capfirst}}</h3></th></tr>
    {% if list %}
    <tr><th class="heading">Name</th><th class="heading">Required</th><th class="heading">Type</th><th colspan="100%" class="heading">Options</th></tr>
    {% for addition in list %}
        <tr>
            <th>{{addition.name}}</a></th>
            <td>{{addition.required}}</a></td>
            <td>{{addition.get_type_display}}</td>
            <td class="management_option"><a class="button smallbutton" href="{% course_url management app='additions' command='edit' arguments=addition.model|add:"&"|add:addition.name %}" title="Edit this addition">Edit</a></td>
            <td class="management_option"><a class="button smallbutton" href="{% course_url management app='additions' command='remove' arguments=addition.model|add:"&"|add:addition.name %}" title="Remove this addition from the course (and deletes it if it is no longer associated with a course)">Remove</a></td>
            {%comment%}<td class="management_option"><a class="button DeleteButton smallbutton" href="{% course_url management app='additions' command='delete' arguments=addition.model|add:"&"|add:addition.name %}" title="Delete this addition">X</a></td>{%endcomment%}
        </tr>
    {% endfor %}
    {% else %}
    <tr><td colspan="100%">No additions have been created for {{model}} yet</td></tr>
    {% endif %}
</table>
    {% endfor %}
